//
//  APIRequestManager.h
//  ProjectDemo
//
//  Created by IOS3 on 2018/10/23.
//  Copyright © 2018 IOS3. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AFNetworking.h>


typedef enum : NSUInteger {
    BaseURLType_default,
    BaseURLType_upload,
} BaseURLType;

NS_ASSUME_NONNULL_BEGIN

@interface APIRequestManager : NSObject

/// APIRequestManager 单例
+ (APIRequestManager *)sharedInstance;


/// 根据 baseURL 的类型返回 AFHTTPSessionManager
- (AFHTTPSessionManager *)sessionManagerWith:(BaseURLType)type;

@end

NS_ASSUME_NONNULL_END
